package com.techchat.backend.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class User {
    private Long id;
    private String username;
    private String password; // 移除非空注解
    private String nickname;
    private LocalDateTime createdAt;
    private String avatar;//存用户头像和URl
}
